<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Serial')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-serial" data-rule="required" class="form-control" name="row[serial]" type="text" value="{$row.serial|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Detail')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-detail" class="form-control" name="row[detail]" type="text" value="{$row.detail|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Createtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-createTime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[createTime]" type="text" value="{:$row.createTime?datetime($row.createTime):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Starttime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-startTime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[startTime]" type="text" value="{$row.startTime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Endtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-endTime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[endTime]" type="text" value="{$row.endTime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Repeat')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-repeat" data-rule="required" class="form-control selectpicker" name="row[repeat]">
                {foreach name="repeatList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.repeat"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Meetingtype')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-meetingType" data-rule="required" class="form-control selectpicker" name="row[meetingType]">
                {foreach name="meetingtypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.meetingType"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Normalpassword')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-normalPassword" class="form-control" name="row[normalPassword]" type="text" value="{$row.normalPassword|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mainpassword')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mainPassword" class="form-control" name="row[mainPassword]" type="text" value="{$row.mainPassword|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Option')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-option" class="form-control" name="row[option]" type="text" value="{$row.option|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Company_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-company_id" data-rule="required" data-source="company/index" class="form-control selectpage" name="row[company_id]" type="text" value="{$row.company_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Platform_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-platform_id" data-rule="required" data-source="platform/index" class="form-control selectpage" name="row[platform_id]" type="text" value="{$row.platform_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Platform_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-platform_type" class="form-control" name="row[platform_type]" type="number" value="{$row.platform_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Platform_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-platform_status" class="form-control" name="row[platform_status]" type="number" value="{$row.platform_status|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Isself')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-isself" class="form-control" name="row[isself]" type="number" value="{$row.isself|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mainvideo')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-mainVideo" class="form-control selectpicker" name="row[mainVideo]">
                {foreach name="mainvideoList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.mainVideo"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mainaudio')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-mainAudio" class="form-control selectpicker" name="row[mainAudio]">
                {foreach name="mainaudioList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.mainAudio"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Participantvideo')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-participantVideo" class="form-control selectpicker" name="row[participantVideo]">
                {foreach name="participantvideoList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.participantVideo"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Participantaudio')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-participantAudio" class="form-control selectpicker" name="row[participantAudio]">
                {foreach name="participantaudioList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.participantAudio"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mode')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-mode" class="form-control selectpicker" name="row[mode]">
                {foreach name="modeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.mode"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lock')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-lock" class="form-control selectpicker" name="row[lock]">
                {foreach name="lockList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.lock"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Entry_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-entry_number" class="form-control" name="row[entry_number]" type="number" value="{$row.entry_number|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Entry_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-entry_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[entry_time]" type="text" value="{$row.entry_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Duration')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-duration" class="form-control" name="row[duration]" type="number" value="{$row.duration|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Advanced_mode_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-advanced_mode_id" data-rule="required" data-source="advanced/mode/index" class="form-control selectpage" name="row[advanced_mode_id]" type="text" value="{$row.advanced_mode_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Share_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-share_image" class="form-control" size="50" name="row[share_image]" type="text" value="{$row.share_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-share_image" class="btn btn-danger faupload" data-input-id="c-share_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-share_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-share_image" class="btn btn-primary fachoose" data-input-id="c-share_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-share_image"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-share_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_type" class="form-control" name="row[create_type]" type="text" value="{$row.create_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cover')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cover" class="form-control" name="row[cover]" type="text" value="{$row.cover|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sketch')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sketch" class="form-control" name="row[sketch]" type="text" value="{$row.sketch|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
